{include file="public_iframe:head"}
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div class="table-responsive">
                        <table class="table table-striped">
                            <div class="col-sm-3">
                                <a class="btn btn-primary" href="{:url('Industry/add_cateogry')}">添加分类</a>
                            </div>
                            <thead>
                            <tr>
                                <th>父分类</th>
                                <th>分类名</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            {volist name="industry_category" id="vo"}
                            <tr>
                                <td>{$vo.parent_name}</td>
                                <td>{$vo.name}</td>
                                <td><a data-toggle="modal" class="btn btn-primary" href="{:url('Industry/add_cateogry',['id'=>$vo.id])}">修改</a></td>
                            </tr>
                            {/volist}
                            </tbody>
                        </table>
                    </div>
                    {$page}
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>
